package com.xzc.refactory.object.hideDelegate.c1;

public class App {

    public static Person getStaffManager(Person staff){
        return staff.getDepartment().getManager();
    }

    public static void main(String[] args) {
        Person john = new Person();
        //i want to know who is this guy's manager?
        Person john_manager = getStaffManager(john);
    }
}
